#ifndef MYDIRECTSHOW_H
#define MYDIRECTSHOW_H

#include <QObject>
#include <dshow.h>
#include <windows.h>

class mydirectshow : public QObject
{
    Q_OBJECT
public:
    explicit mydirectshow(QObject *parent = nullptr);

    QStringList getCameraNameList();

signals:

private:
    QStringList m_cameraNameList;

    HRESULT EnumerateDevices(REFGUID category, IEnumMoniker **ppEnum);
    void DisplayDeviceInformation(IEnumMoniker *pEnum);
};

#endif // MYDIRECTSHOW_H
